package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_member_company")
@ApiModel(value="ShopMemberCompanyEntity对象", description="")
public class ShopMemberCompanyEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "供应商id")
    @ApiModelProperty(value = "供应商id")
    private Long accountId;

    @Column(comment = "用户id")
    @ApiModelProperty(value = "用户id")
    private String memberId;

    @Column(comment = "营业执照名称")
    @ApiModelProperty(value = "营业执照名称")
    private String businessLicenseName;

    @Column(comment = "所属行业")
    @ApiModelProperty(value = "所属行业")
    private String industry;

    @Column(comment = "统一信用代码")
    @ApiModelProperty(value = "统一信用代码")
    private String unifiedCreditCode;

    @Column(comment = "公司名称")
    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @Column(comment = "省份编码")
    @ApiModelProperty(value = "省份编码")
    private String provinceCode;

    @Column(comment = "城市编码")
    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    @Column(comment = "区县编码")
    @ApiModelProperty(value = "区县编码")
    private String areaCode;

    @Column(comment = "公司详细地址")
    @ApiModelProperty(value = "公司详细地址")
    private String address;

    @Column(comment = "联系人")
    @ApiModelProperty(value = "联系人")
    private String contacts;

    @Column(comment = "联系人手机号")
    @ApiModelProperty(value = "联系人手机号")
    private String contactsMobile;

    @Column(comment = "证件类型：1-三证合一；2-企业五证")
    @ApiModelProperty(value = "证件类型：1-三证合一；2-企业五证")
    private String idType;

    @Column(comment = "证件1")
    @ApiModelProperty(value = "证件1")
    private String cert1Url;

    @Column(comment = "证件2")
    @ApiModelProperty(value = "证件2")
    private String cert2Url;

    @Column(comment = "证件3")
    @ApiModelProperty(value = "证件3")
    private String cert3Url;

    @Column(comment = "证件4")
    @ApiModelProperty(value = "证件4")
    private String cert4Url;

    @Column(comment = "证件5")
    @ApiModelProperty(value = "证件5")
    private String cert5Url;

    @Column(comment = "账户状态 1申请中；2已同意；3已拒绝；")
    @ApiModelProperty(value = "账户状态 1申请中；2已同意；3已拒绝；")
    private Integer status;

    @Column(comment = "申请时间")
    @ApiModelProperty(value = "申请时间")
    private LocalDateTime createTime;

    @Column(comment = "审批人")
    @ApiModelProperty(value = "审批人")
    private Long updateBy;

    @Column(comment = "审批时间")
    @ApiModelProperty(value = "审批时间")
    private LocalDateTime updateTime;

    @Column(comment = "审批意见")
    @ApiModelProperty(value = "审批意见")
    private String remarks;


}
